﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sale.Domain
{
    /// <summary>
    /// 客户单价(ClientPrice)			
    /// </summary>
    public class ClientPriceModel:BaseEntity
    {
        /// <summary>
        /// 客户单价Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Key]
        public int ClientPriceId { get; set; }
        /// <summary>
        /// 客户单价编号
        /// </summary>
        public string ClientPriceCode { get; set; }
        /// <summary>
        /// 客户Id（主键唯一标识）
        /// </summary>
        public int ClientId {  get; set; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public string  ProductCode { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public double Price { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Numder {  get; set; }
        /// <summary>
        /// 总金额
        /// </summary>
        public double TotalAmount {  get; set; }
  
        /// <summary>
        /// 客户单价备注
        /// </summary>
        public string ClientPriceRemark {  get; set; }
        /// <summary>
        /// 折扣方案名称
        /// </summary>
        public string DiscountName {  get; set; }
        /// <summary>
        /// 折扣金额
        /// </summary>
        public double DiscountAmount {  get; set; }
        /// <summary>
        /// 阶梯折扣Id
        /// </summary>
        public int LadderId { get; set; }
    }
}
